// OverLoading3.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream.h>

class F
{
public:
	double operator () (double x, double y);
};

double F::operator () (double x, double y)
{
	return (x + 5) * y;           // (1.5+5)*2.2
};

void main( )
{
	F f;
	cout<<f(1.5,2.2)<<endl;
	getchar();
}

